*{
    margin:0;
    padding:0;
}
body {
    background-image: url(../images/robotbg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
}
.chatContainer {
    max-width: 800px;
    width: 55%; 
    min-width: 400px;
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    overflow: hidden;
}
.robotName{
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: rgba(255, 255, 255, 0.5);
    padding-left: 20px;
    box-sizing: border-box;
}
.chatMessage {
    width: 100%;
    height: 600px;
    background-color: rgba(255, 255, 255, 0.5);
    overflow: auto;
}
.chatMessage>ul {
    width: 100%;
    list-style: none;
}
.chatMessage>ul>li{
    width: 100%;
    /* background-color: pink; */
    position:relative;
    min-height:40px;
}
.chatContentR {
    display:flex;
    justify-content: flex-start;
    margin:10px 0;
}
.chatContentL {
    display: flex;
    justify-content: flex-end;
    margin:10px 0;
}
.chatContentR>span {
    display:inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-image: url(../images/robot.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin:0 5px;
}
.chatContentL>span {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-image: url(../images/userImages/user.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin: 0 5px;
}
.chatContentR>p {
    max-width: 50%;
    word-wrap: break-word;
    padding:10px;
    margin-left:5px;
    background-color: orange;
    border-radius:10px;
    position:relative;
}
.chatContentL>p {
    max-width: 50%;
    word-wrap: break-word;
    padding: 10px;
    margin-right: 5px;
    background-color: orange;
    border-radius: 10px;
    position:relative;
}
.chatContentR>p::before {
    content: "";
    position:absolute;
    width: 10px;
    height: 10px;
    margin:10px 0;
    top:10px;
    left:-5px;
    transform:rotate(45deg) ;
    background-color: orange;
    /* z-index:-1; */
}
.chatContentL>p::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    top: 10px;
    right: -5px;
    transform: rotate(45deg);
    background-color: orange;
    /* z-index:-1; */
}
.sendMessage {
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.5);
    display:flex;
    justify-content:space-around;
    align-items:center;
}
.sendMessage>input {
    width: 75%;
    height: 40px;
    line-height: 40px;
    padding-left:10px;
    outline:none;
    border-radius:10px;
    font-size:18px;
    box-sizing: border-box;
    border:none;
}
.sendMessage>button{
    width: 15%;
    height: 40px;
    border-radius:15px;
    border:none;
    cursor:pointer;
}
